//
//  GWMenuCell.m
//  GiftWanted
//
//  Created by lanou on 15/11/11.
//  Copyright © 2015年 陈文杰. All rights reserved.
//

#import "GWMenuCell.h"

@implementation GWMenuCell
- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
    if (self = [super initWithStyle:style reuseIdentifier:reuseIdentifier]) {
        _menuImg = [[UIImageView alloc] initWithFrame:CGRectMake(20, 10, 30, 30)];
        _menuLabel = [[UILabel alloc] initWithFrame:CGRectMake(70, 10, SCREEN_WIDTH-90, 30)];
        _menuLabel.font = [UIFont fontWithName:@"Trebuchet-BoldItalic" size:15];
        [self.contentView addSubview:_menuLabel];
        [self.contentView addSubview:_menuImg];
    }
    return self;
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
